//
//  KRHttpRecipeTool.h
//  cookBook
//
//  Created by kuroken on 16/1/28.
//  Copyright © 2016年 kuroken. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSString * const KRIndex;
extern NSString * const KRSearchGetList;
extern NSString * const KRSearchGetSuggestion;
extern NSString * const KRSearchGetCatelist;
extern NSString * const KRRecipeetAlbumList;
extern NSString * const KRInfoGetAlbumInfo;
extern NSString * const KRInfoGetInfo;
extern NSString * const KRReadGetList;
extern NSString * const KRTopicView;
extern NSString * const KRInitWebView;
extern NSString * const KRTopicIndex;

@interface KRHttpRecipeTool : NSObject

+ (NSURLSessionDataTask *)getParams:(void (^)(NSString **method, NSMutableDictionary *requestParams))params success:(void (^)(NSURLSessionDataTask *task, id json))success failure:(void (^)(NSURLSessionDataTask *task, NSError *error))failure;

@end
